import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)
const FightGroupMenu = {
  path: '/fightGroup',
  component: Layout,
  name: '拼团管理',
  meta: {
    title: '拼团管理',
    icon: 'chart'
  },
  authority: 'fightGroup',
  children: [{
    path: 'goodsInfoManager',
    component: _import('cms/fightGroup/goodsInfo'),
    name: '商品管理',
    meta: {
      title: '商品管理',
      icon: 'chart'
    },
    authority: 'goodsInfoManager'
  }, {
    path: 'categoryManager',
    component: _import('cms/fightGroup/category'),
    name: '团类目管理',
    meta: {
      title: '团类目管理',
      icon: 'chart'
    },
    authority: 'categoryManager'
  }, {
    path: 'groupManager',
    component: _import('cms/fightGroup/groupInfo'),
    name: '团信息管理',
    meta: {
      title: '团信息管理',
      icon: 'chart'
    },
    authority: 'groupManager'
  }, {
    path: 'memberManager',
    component: _import('cms/fightGroup/memberInfo'),
    name: '团成员信息管理',
    meta: {
      title: '团成员信息管理',
      icon: 'chart'
    },
    authority: 'memberManager'
  }]
}
export default FightGroupMenu
